home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / system / ramdsk13.zip / RAMDISK.TXT < prev    next >
Text File  |  1994-05-24  |  3KB  |  77 lines

  1.  
  2.                   XMSDSK.EXE
  3.                       &
  4.                   EMSDSK.EXE
  5.  
  6.                Franck UBERTO - 94/05/18
  7.               38000 Grenoble - FRANCE
  8.                    email : uberto@esrf.fr
  9.  
  10.  
  11.   These utilities are 2 ramdisks. For some people, they surely will lack of some
  12. "bells and whistles", but I made them efficient and simple to use.
  13.   There are 2 programs because I wanted to optimize size and speed, so one is 
  14. for XMS and the other one is for EMS.
  15.   To get help for running them, just type : XMSDSK (or EMSDSK) /?.
  16.  
  17.  You can use them on 286 and upper (use EMSDSK86 for 8086 cpu). Once installed 
  18. they will occupy about 400 bytes. I have performed some tests and I found them 
  19. not so bad compared with concurrents (even well known).
  20.  
  21.   You can resize the disk (down to zero, or up to 32 Mb if available) at any 
  22. time and so regain memory for another usage. This is possible on DOS command 
  23. line but *NOT* under WINDOWS because of virtualization. The transient part of 
  24. EXE will calculate all parameters for new size disk (I use the same ones as 
  25. MS-DOS for hard disk, so they should be convenient for all cases).
  26.  
  27.   Take care, if you shell out of a DOS program and modify the size of the disk :
  28. in the case you have set TEMP (or TMP) variable on the ramdisk or you have told
  29. this program to use the ramdisk, then some (hidden) files may have been created
  30. and some (not) pleasant things can happen.
  31.  
  32.   These two EXE are in fact some mixing of SYS and COM files. Resident part is 
  33. written in assembler (for optimization) and transient part (initialization of 
  34. driver and size redefinition) in C (for simplicity). For this I have to modify 
  35. the startup code of my compiler because the driver part (resident and 
  36. installation code) must be placed before it. So at the end you have :
  37.  
  38.     - resident part of driver in assembler
  39.     - initialization of driver in C
  40.     - C startup code in assembler
  41.     - size redefinition part in C
  42.  
  43.   Well all this to say that some day I will release source code, but for the 
  44. moment you can use and distribute these files : it's freeware.
  45.  
  46.   So ENJOY ...
  47.  
  48.  
  49. BTW : I thank all of you that have send me some message telling they appreciate
  50.       (more or less :-) this program.
  51.  
  52.  
  53.   * Examples
  54.  
  55.   device[high]='path'\XMSDSK.EXE [size] (or EMSDSK.EXE)
  56.     Install ramdisk in config.sys. If size is not specified then 512 Kb is
  57.     requested.
  58.  
  59.   XMSDSK (or EMSDSK)
  60.     On DOS command line, tells you the size and drive used by the ramdisk.
  61.  
  62.   XMSDSK size (or EMSDSK)
  63.     Modify the size of the ramdisk.
  64.  
  65.   echo y | XMSDSK size (or EMSDSK)
  66.     In autoexec.bat, modify without prompting the size of the ramdisk.
  67.  
  68.   * History
  69.  
  70.     v1.0 (May 92)    Initial version.
  71.     v1.1 (Jun 92)    Adds some optimization in resident part.
  72.     v1.2 (Oct 93)    Adds some tests in size redefinition part.
  73.     v1.3 (Apr 94)    Corrects a bug when requested size was around 4000 Kb 
  74.                      and another one which limited size to 16 Mb.  :-)
  75.                      Adds more accurate error messages instead of "error 
  76.                      during installation".
  77.